How would a list and a NumPy array behave when they are multiplied by 3?
If you have a NumPy array with the shape (2,35), what does this tell you about the elements in the array?
Suppose you have a Pandas DataFrame named df_sales containing daily sales data. The DataFrame has the following columns: year, month, day_of_month, sales_total. If you want to find the average sales_total value, which code should you use?
You work on a DataFrame containing data about daily ice cream sales. You use the corr method to compare the avg_temp and units_sold columns, and get a result of 0.95. What does this result indicate?
This is a relative metric in which the higher the value, the better the fit of the model.
Which evaluation model is described?
This evaluation metric yields an absolute metric in the same unit as the label.
Which metric is described?
You’ve just created a model object using the LinearRegression class from the scikit-learn library.
What should you do next to train the model?